function y = getContourImage()

 img=imread('image.jpg');
        
 img=rgb2gray(img); % used when input is RGB image
%  hold on;
 subplot(1,2,1);
 imshow(img);
%  xlabel('Original Image');

 
 BW = edge(img,'canny');
 subplot(1,2,2); % draw edge image in demonstration plot
 imshow(BW);
 
end